package com.wsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 公告评价表
 * </p>
 *
 * @author juiet
 * @since 2024年11月27日 10:37:58
 */
@Getter
@Setter
@TableName("cms_announcement_comment")
@Schema(name = "CmsAnnouncementCommentEntity", description = "公告评价表")
public class CmsAnnouncementCommentEntity extends BaseEntity {

    @Schema(description = "公告id")

    private Long annoId;

    @Schema(description = "用户id")
    @TableField("member_id")
    private Long memberId;

    @Schema(description = "评价语")
    @TableField("comment")
    private String comment;

    @Schema(description = "评价时间")
    @TableField("comment_time")
    private LocalDateTime commentTime;

    @Schema(description = "基于评价的回复")
    @TableField("comment_id")
    private Long commentId;

    @Schema(description = "全路径")
    @TableField("path")
    private String path;

    @Schema(description = "评论 回复: 对方用户id")
    @TableField("comment_member_id")
    private Long commentMemberId;

    @Schema(description = "评论数")
    @TableField("comment_count")
    private Long commentCount;
}
